package com.yuexunit.operationman.nbsy.module.Catheter.bean;

import java.util.List;

/**
 * Created by work-jx on 2017/12/28.
 */
public class CatheterBean {

    /**
     * code : 200
     * desc : 发送数据成功
     * object : {"catheter":{"catheterId":1,"operationNo":"2017223061","inHospitalNo":"201722306","patientNo":"26861650","patientName":"毛大朋","bedNo":"W617","patientSex":"1","patientAge":64,"departmentNo":null,"department":"神经内科西","operator":"周立斌","preOperation":"膀胱镜尿道镜检查（包括取异物）","operationDate":1497456000000,"status":1,"createId":null,"createName":null,"createTime":null,"updateId":null,"updateName":null,"updateTime":null},"catheterItemList":[{"catheterItemId":1,"catheterId":1,"itemCode":"DGLX","itemName":"导管类别","itemValue":";1;;"},{"catheterItemId":2,"catheterId":1,"itemCode":"DNMD","itemName":"导尿目的","itemValue":";1;;;;"},{"catheterItemId":3,"catheterId":1,"itemCode":"item1","itemName":null,"itemValue":";;;1;"},{"catheterItemId":4,"catheterId":1,"itemCode":"item2","itemName":null,"itemValue":";;1"},{"catheterItemId":5,"catheterId":1,"itemCode":"item3","itemName":null,"itemValue":"1;;"},{"catheterItemId":6,"catheterId":1,"itemCode":"item4","itemName":null,"itemValue":"1;;;1;"},{"catheterItemId":7,"catheterId":1,"itemCode":"item5","itemName":null,"itemValue":";1;"},{"catheterItemId":8,"catheterId":1,"itemCode":"item6","itemName":null,"itemValue":";;1"},{"catheterItemId":9,"catheterId":1,"itemCode":"item7","itemName":null,"itemValue":"1;;;1;"},{"catheterItemId":10,"catheterId":1,"itemCode":"item8","itemName":null,"itemValue":";1;"},{"catheterItemId":11,"catheterId":1,"itemCode":"item9","itemName":null,"itemValue":";1;"}]}
     */

    private int code;
    private String desc;
    /**
     * catheter : {"catheterId":1,"operationNo":"2017223061","inHospitalNo":"201722306","patientNo":"26861650","patientName":"毛大朋","bedNo":"W617","patientSex":"1","patientAge":64,"departmentNo":null,"department":"神经内科西","operator":"周立斌","preOperation":"膀胱镜尿道镜检查（包括取异物）","operationDate":1497456000000,"status":1,"createId":null,"createName":null,"createTime":null,"updateId":null,"updateName":null,"updateTime":null}
     * catheterItemList : [{"catheterItemId":1,"catheterId":1,"itemCode":"DGLX","itemName":"导管类别","itemValue":";1;;"},{"catheterItemId":2,"catheterId":1,"itemCode":"DNMD","itemName":"导尿目的","itemValue":";1;;;;"},{"catheterItemId":3,"catheterId":1,"itemCode":"item1","itemName":null,"itemValue":";;;1;"},{"catheterItemId":4,"catheterId":1,"itemCode":"item2","itemName":null,"itemValue":";;1"},{"catheterItemId":5,"catheterId":1,"itemCode":"item3","itemName":null,"itemValue":"1;;"},{"catheterItemId":6,"catheterId":1,"itemCode":"item4","itemName":null,"itemValue":"1;;;1;"},{"catheterItemId":7,"catheterId":1,"itemCode":"item5","itemName":null,"itemValue":";1;"},{"catheterItemId":8,"catheterId":1,"itemCode":"item6","itemName":null,"itemValue":";;1"},{"catheterItemId":9,"catheterId":1,"itemCode":"item7","itemName":null,"itemValue":"1;;;1;"},{"catheterItemId":10,"catheterId":1,"itemCode":"item8","itemName":null,"itemValue":";1;"},{"catheterItemId":11,"catheterId":1,"itemCode":"item9","itemName":null,"itemValue":";1;"}]
     */

    private ObjectEntity object;

    public void setCode(int code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setObject(ObjectEntity object) {
        this.object = object;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    public ObjectEntity getObject() {
        return object;
    }

    public static class ObjectEntity {
        /**
         * catheterId : 1
         * operationNo : 2017223061
         * inHospitalNo : 201722306
         * patientNo : 26861650
         * patientName : 毛大朋
         * bedNo : W617
         * patientSex : 1
         * patientAge : 64
         * departmentNo : null
         * department : 神经内科西
         * operator : 周立斌
         * preOperation : 膀胱镜尿道镜检查（包括取异物）
         * operationDate : 1497456000000
         * status : 1
         * createId : null
         * createName : null
         * createTime : null
         * updateId : null
         * updateName : null
         * updateTime : null
         */

        private CatheterEntity catheter;
        /**
         * catheterItemId : 1
         * catheterId : 1
         * itemCode : DGLX
         * itemName : 导管类别
         * itemValue : ;1;;
         */

        private List<CatheterItemListEntity> catheterItemList;

        public void setCatheter(CatheterEntity catheter) {
            this.catheter = catheter;
        }

        public void setCatheterItemList(List<CatheterItemListEntity> catheterItemList) {
            this.catheterItemList = catheterItemList;
        }

        public CatheterEntity getCatheter() {
            return catheter;
        }

        public List<CatheterItemListEntity> getCatheterItemList() {
            return catheterItemList;
        }

        public static class CatheterEntity {
            private String catheterId;
            private String operationNo;
            private String inHospitalNo;
            private String patientNo;
            private String patientName;
            private String bedNo;
            private String patientSex;
            private String patientAge;
            private String departmentNo;
            private String department;
            private String preOperation;
            private String status;
            private String createId;
            private String createName;
            private String createTime;
            private String updateId;
            private String updateName;
            private String updateTime;
            private String operatorSign;
            private String operator;
            private String operationDate;

            public void setCatheterId(String catheterId) {
                this.catheterId = catheterId;
            }

            public void setOperationNo(String operationNo) {
                this.operationNo = operationNo;
            }

            public void setInHospitalNo(String inHospitalNo) {
                this.inHospitalNo = inHospitalNo;
            }

            public void setPatientNo(String patientNo) {
                this.patientNo = patientNo;
            }

            public void setPatientName(String patientName) {
                this.patientName = patientName;
            }

            public void setBedNo(String bedNo) {
                this.bedNo = bedNo;
            }

            public void setPatientSex(String patientSex) {
                this.patientSex = patientSex;
            }

            public void setPatientAge(String patientAge) {
                this.patientAge = patientAge;
            }

            public void setDepartmentNo(String departmentNo) {
                this.departmentNo = departmentNo;
            }

            public void setDepartment(String department) {
                this.department = department;
            }

            public void setOperator(String operator) {
                this.operator = operator;
            }

            public void setPreOperation(String preOperation) {
                this.preOperation = preOperation;
            }

            public void setOperationDate(String operationDate) {
                this.operationDate = operationDate;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public void setCreateId(String createId) {
                this.createId = createId;
            }

            public void setCreateName(String createName) {
                this.createName = createName;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public void setUpdateId(String updateId) {
                this.updateId = updateId;
            }

            public void setUpdateName(String updateName) {
                this.updateName = updateName;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getCatheterId() {
                return catheterId;
            }

            public String getOperationNo() {
                return operationNo;
            }

            public String getInHospitalNo() {
                return inHospitalNo;
            }

            public String getPatientNo() {
                return patientNo;
            }

            public String getPatientName() {
                return patientName;
            }

            public String getBedNo() {
                return bedNo;
            }

            public String getPatientSex() {
                return patientSex;
            }

            public String getPatientAge() {
                return patientAge;
            }

            public String getDepartmentNo() {
                return departmentNo;
            }

            public String getDepartment() {
                return department;
            }

            public String getOperator() {
                return operator;
            }

            public String getPreOperation() {
                return preOperation;
            }

            public String getOperationDate() {
                return operationDate;
            }

            public String getStatus() {
                return status;
            }

            public String getCreateId() {
                return createId;
            }

            public String getCreateName() {
                return createName;
            }

            public String getCreateTime() {
                return createTime;
            }

            public String getUpdateId() {
                return updateId;
            }

            public String getUpdateName() {
                return updateName;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public String getOperatorSign() {
                return operatorSign;
            }

            public void setOperatorSign(String operatorSign) {
                this.operatorSign = operatorSign;
            }
        }

        public static class CatheterItemListEntity {
            private String catheterItemId;
            private String catheterId;
            private String itemCode;
            private String itemName;
            private String itemValue;

            public void setCatheterItemId(String catheterItemId) {
                this.catheterItemId = catheterItemId;
            }

            public void setCatheterId(String catheterId) {
                this.catheterId = catheterId;
            }

            public void setItemCode(String itemCode) {
                this.itemCode = itemCode;
            }

            public void setItemName(String itemName) {
                this.itemName = itemName;
            }

            public void setItemValue(String itemValue) {
                this.itemValue = itemValue;
            }

            public String getCatheterItemId() {
                return catheterItemId;
            }

            public String getCatheterId() {
                return catheterId;
            }

            public String getItemCode() {
                return itemCode;
            }

            public String getItemName() {
                return itemName;
            }

            public String getItemValue() {
                return itemValue;
            }
        }
    }
}
